home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_9.lha / 7_9 / nlink.h < prev    next >
Text File  |  1993-08-08  |  373b  |  19 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. ifndef NLINK_H
  6. define NLINK_H
  7. lass nlink : public dlink {
  8. ublic:
  9. void *x;
  10. nlink(char*nx) { x = nx; }
  11. ;
  12.  
  13. nline ostream &operator<<(ostream &out, nlink*n)
  14.  
  15.    out << (dlink*)n << "\t" << (char*)(n->x) << "\n";
  16.    return out;
  17.  
  18. endif
  19.